package gui;

import java.awt.Color;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JWindow;
import java.awt.Font;
import javax.swing.SwingConstants;

public class PlsWaitMsg extends JWindow{
	/**
	 * Create the panel.
	 * @param x offset from left
	 * @param y offset from top
	 * @throws InterruptedException
	 */
	public PlsWaitMsg(int x, int y) throws InterruptedException {
		setBackground(new Color(255, 255, 255, 100));
		setBounds(x, y, 275, 144);
		//setLayout(null);
		
		JLabel lblNewLabel = new JLabel("Proccessing, Please wait....");
		lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
		lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 16));
		lblNewLabel.setBounds(0, 0, 275, 144);
		getContentPane().add(lblNewLabel);

		setVisible(true);
	}
}